package MyThread;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: AliceMana
 * Date: 2022-12-30
 * Time: 15:07
 */

// 5. 使用lambda表达式
public class ThreadDemo5 {
    public static void main(String[] args) {
        Thread t = new Thread(()-> {
            System.out.println("hello");
        });
        t.start();
    }
}

